net/http/internal/http2.pipe.CloseWithError (method)
9 uses
net/http/internal/http2 (current package)
pipe.go#L111: func (p *pipe) CloseWithError(err error) { p.closeWithError(&p.err, err, nil) }
server.go#L1601: p.CloseWithError(err)
server.go#L1757: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1825: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
server.go#L1829: st.body.CloseWithError(io.EOF)
server.go#L1851: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
transport.go#L1541: cs.bufPipe.CloseWithError(err) // no-op if already closed
transport.go#L1546: cs.bufPipe.CloseWithError(errRequestCanceled)
transport.go#L2858: cs.bufPipe.CloseWithError(serr)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)